export const state =() => ({
  locale: 'zh'
})
export const mutations = {
  setLocale(state: any, locale:string) {
    state.local = locale
  }
}

// use: this.$i18n.locale = locale or this.$i18n.setLocale(locale)
